FROM ubuntu:20.04

RUN apt update && apt install -y python3 python3-pip sudo

# RUN useradd -m Guan

# RUN chown -R GUan:Guan /home/Guan/

COPY .  /home/Guan/myProgram/

# USER Guan

RUN cd /home/Guan/myProgram/  && pip3 install -r requirements.txt

WORKDIR /home/Guan/myProgram/

# CMD python h.py